package com.zhao.data.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.zhao.data.model.Role;

public interface RoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
    
	@Select("select * from t_role")
	List<Role> selectAll();
}